<%@ include file="/WEB-INF/jsp/_include.jsp" %>

<t:base>
   <jsp:attribute name="header">
		<script type="text/javascript" src="static/competitions/umpires_invitation.js"></script>
		<link rel="stylesheet" href="static/competitions/umpires_invitation.css">
		<h1>Umpires Invitation</h1>
    </jsp:attribute>

<jsp:body>

<%@ include file="competitionInfo.jspf"%>
	
<div id="grid-container">
	<div id="grid"></div>
</div>

<form action="/s/workflow/service?action=sendInvitation" method="post">
	<div id=Umpire_Invitation_submission>
		<input type="text" id="cid" name="id" value="${competition.key}" hidden="true" readonly/>
		<input type="text" name="timeslots" id="timeslots" hidden="true" readonly/>
		<textarea name='instruction' rows="4" cols="50" onfocus="this.value=''; this.onfocus=null;">Write your instructions to umpires here.</textarea>
		<div><input type="submit" class="SubmitBtn" value="Send Invitation to All Umpires" onclick="submitInvitation()"/></div>
	</div>
</form>
    </jsp:body>
</t:base>